package com.zzw.bridge.common.entitys.business;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 墩柱切片详情表
 *
 * @author XiaoJie
 * @date 2025-05-16 14:00:28
 */
@ApiModel(value = "墩柱切片详情备份表")
@Data
@TableName("zzw_pier_column_report_detail_his")
public class ZzwPierColumnReportDetailHisEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	@TableId(type = IdType.AUTO)
	private Integer id;

	@ApiModelProperty(value = "切片ID")
	private String reportDetailId;

	@ApiModelProperty(value = "报告ID")
	@TableField("report_id")
	private String reportId;

	@ApiModelProperty(value = "切片名称")
	@TableField("name")
	private String name;

	@ApiModelProperty(value = "轴线偏移")
	@TableField("axle_offset")
	private Double axleOffset;

	@ApiModelProperty(value = "x轴偏移")
	@TableField("axle_offset_x")
	private Double axleOffsetX;

	@ApiModelProperty(value = "y轴偏移")
	@TableField("axle_offset_y")
	private Double axleOffsetY;

	@ApiModelProperty(value = "设计中心点x")
	@TableField("disgn_x")
	private Double disgnX;

	@ApiModelProperty(value = "设计中心点y")
	@TableField("disgn_y")
	private Double disgnY;

	@ApiModelProperty(value = "设计中心点z")
	@TableField("disgn_z")
	private Double disgnZ;

	@ApiModelProperty(value = "拟合中心点x")
	@TableField("fit_x")
	private Double fitX;

	@ApiModelProperty(value = "拟合中心点y")
	@TableField("fit_y")
	private Double fitY;

	@ApiModelProperty(value = "拟合中心点z")
	@TableField("fit_z")
	private Double fitZ;

	@ApiModelProperty(value = "切片高度")
	@TableField("height")
	private Double height;

	@ApiModelProperty(value = "点云偏移x")
	@TableField("offset_x")
	private Double offsetX;

	@ApiModelProperty(value = "点云偏移y")
	@TableField("offset_y")
	private Double offsetY;

	@ApiModelProperty(value = "点云偏移z")
	@TableField("offset_z")
	private Double offsetZ;

	@ApiModelProperty(value = "报告详情点数据")
	@TableField("points")
	private String points;

	@ApiModelProperty(value = "界面尺寸，半径*2")
	@TableField("size")
	private Double size;

	@ApiModelProperty(value = "切面高度")
	@TableField("slice_thickness")
	private Double sliceThickness;

	@ApiModelProperty(value = "切片高度")
	@TableField("standard_height")
	private Double standardHeight;

	@ApiModelProperty(value = "生成时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("generate_time")
	private Date generateTime;

	@ApiModelProperty(value = "上传时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("create_time")
	private Date createTime;

	@ApiModelProperty(value = "更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("update_time")
	private Date updateTime;

	@ApiModelProperty(value = "是否删除（0-未删除；1-已删除）")
	@TableField("is_delete")
	private Integer isDelete;

}
